/*
 * Sequence_test.cpp
 *
 *  Created on: 2012-1-11
 *      Author: walter_2
 */
#include "gtest/gtest.h"
#include "Sequence.h"
using namespace std;
using namespace  NS_WF_UTIL;

class SequenceTest : public ::testing::Test {
public:
   SequenceTest():s1_(),s2_(10), s3_(100,10) {}
protected:
  virtual void SetUp() {
  }

  // virtual void TearDown() {}

  Sequence s1_;
  Sequence s2_;
  Sequence s3_;
};

TEST_F(SequenceTest, NormalCase) {
  int size = 10;
  vector<int> data(size);
  generate(data.begin(), data.end(), s1_);
  copy(data.begin(), data.end(), ostream_iterator<int>(cout, "\n"));
  EXPECT_EQ(0, data.at(0));
}

int main(int argc, char **argv) {
  ::testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}

